package org.jpxx.sec.web.admin;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * 
 * @author Jun Li lijun@jpxx.org (http://www.jpxx.org)
 * @version 1.0.0 $ org.jpxx.sec.web.admin.AdminIndexController.java $ $ Date:
 *          2009-5-10 $
 */
@Controller
@RequestMapping("/admin/index.htm")
public class AdminIndexController {

	@RequestMapping(method = RequestMethod.GET)
	public String index(ModelMap map, HttpServletRequest request,
			HttpServletResponse response) {
		map.addAttribute("description", "Description: Index page.");
		map.addAttribute("title", "四川大学软件学院网站——后台管理系统");
		return "admin/shared";
	}
}
